<%@ Register TagPrefix="dammela" Namespace="whole" Assembly = "dammela"%>
<%@ Page Language="C#" Description="Homepage" debug="false" Culture="it-IT" trace="false"%>
<%@ Import Namespace="System.Xml" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="dammelau" %>

<html>
<head>
<title>dammela.it - Il primo sito dove ci si incontra veramente!</title>
<LINK type="text/css" rel="stylesheet" href="/main.css">
<meta http-equiv="Content-Type" Content="text/html; charset=UTF-8">
<title id="title" runat=server></title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
	string path = Page.Request.MapPath( ConfigurationSettings.AppSettings["logdir"] ) + "\\forward.log";
	using (StreamReader sr = File.OpenText( path )) 
	{
			string s = "";
			while ((s = sr.ReadLine()) != null) 
			{
					Response.Write(s);
			}
	}
	path = Page.Request.MapPath( ConfigurationSettings.AppSettings["logdir"] ) + "\\blogCommentForward.log";
	using (StreamReader sr = File.OpenText( path )) 
	{
			string s = "";
			while ((s = sr.ReadLine()) != null) 
			{
					Response.Write(s);
			}
	}
/*
	XmlTextReader reader = null;

	reader = new XmlTextReader (path);
	while (reader.Read())
	{
		if (reader.HasAttributes)
		{
			for (int j=0; j < reader.AttributeCount; j++)
			{
			Response.Write(" ["+reader[j]+"] ");
			}
		}
	}
*/
%>
</body>
</html>